/**
 * uni-app 电脑端浏览兼容样式表
 */

/* 隐藏页面内容 */
body[adapt="pc"] > * {
  display: none !important;
}
/* 显示 uni-adapt-pc 标记内容 */
body[adapt="pc"] > uni-adapt-pc {
  display: block !important;
}

body[adapt="pc"] {
  margin: 0;
  background-color: #fff;
  background-image: url(pc-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100vw;
  height: 100vh;
}

body[adapt="pc"] .container {
  position: fixed;
  width: 100%;
  height: 850px;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  min-width: 800px;
  max-width: 900px;
}

body[adapt="pc"] .container .iframe {
  width: 411px;
  height: 838px;
  background-image: url(pc-iPhoneX.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  float: left;
}

body[adapt="pc"] .container .iframe > iframe {
  width: 380px;
  height: 763px;
  box-sizing: content-box;
  border: none;
  margin: 48px 0 0 15px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

body[adapt="pc"] .container .content {
  float: right;
  /* color: var(--kui-color-theme); */
  margin-left: 60px;
  width: 400px;
  /* display: flex; */
  /* flex-direction: row; */
  /* align-items: center; */
}

body[adapt="pc"] .container .content > div > h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
  padding: 30px 0 10px 0;
}

body[adapt="pc"] .container .content > div > h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0 0 10px 0;
}
body[adapt="pc"] .container .content > div > .admin-link {
  background: linear-gradient(90deg, #efefef 70%, #ffffff);
  margin: 10px 0px;
  padding: 10px;
  border-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
body[adapt="pc"] .container .content > div > .admin-link a {
  color: #838383;
  text-underline-position: under;
}
body[adapt="pc"] .container .content .qrcode {
  border: black solid 2px;
  box-sizing: content-box;
  width: 200px;
}

body[adapt="pc"] .container .content > div > p {
  font-size: 14px;
  margin: 0;
  padding: 4px 0 0 0;
  text-align: center;
  width: 260px;
  color: #333;
}

body[adapt="pc"] .container .content .phone-preview-btn {
  font-size: 60px;
  border-left: 1px solid lightgray;
  margin-left: 20px;
  padding-left: 10px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#tpl-title {
  font-size: 40px;
  color: #373737;
  font-style: italic;
  translate: 0.5s;
}

.popup-qrcode {
  display: none;
  position: absolute;
  /* width: 300px; */
  /* height: 300px; */
  font-size: 16px;
  top: 50px;
  background: white;
  justify-content: center;
  flex-direction: column;
  box-shadow: 1px 1px 15px lightgray;
  align-items: center;
  padding: 10px;
  z-index: 99;
  border-radius: 5px;
}

body[adapt="pc"] .container .content .phone-preview-btn:hover .popup-qrcode {
  display: flex;
}

/* dowanload */
body[adapt="pc"] .download {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  /* display: none; */
}
body[adapt="pc"] .download .download-btn-group {
  /* position: relative; */
  margin: auto;
  margin-left: -10px;
}
body[adapt="pc"] .download .download-btn-group .download-btn {
  background-color: white;
  display: flex;
  border: 1px solid lightgray;
  width: fit-content;
  margin: 10px;
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
  position: relative;
}
/* body[adapt="pc"] .download .download-btn-group .download-btn:hover {
  box-shadow: 1px 1px 4px lightgray;
} */
body[adapt="pc"] .download .download-btn-group .download-btn.disabled {
  /* filter: grayscale(2); */
  opacity: 0.5;
}
body[adapt="pc"] .download .download-btn-group .download-holver-box {
  position: absolute;
  display: none;
  left: 0;
  top: 0;
  width: 150%;
  height: 150%;
  padding-left: 120%;
}
body[adapt="pc"] .download .download-btn-group .download-holver {
  font-size: medium;
  text-align: center;
  padding: 10px;
  background-color: white;
  box-shadow: 1px 1px 10px lightgray;
  border-color: lightgray;
  border: 1px solid lightgray;
  z-index: 999;
  border-radius: 4px;
}
body[adapt="pc"] .download .download-btn-group .download-holver a {
  color: black;
  font-weight: bold;
}

body[adapt="pc"] .download-btn:hover .download-holver-box,
.download-holver-box:hover {
  display: block;
  z-index: 999;
  /* opacity: 1; */
}

body[adapt="pc"] .download .download-btn-group .download-btn .apple {
  width: 160px;
  height: 60px;
}
body[adapt="pc"] .download .download-btn-group .download-btn .android {
  width: 160px;
  height: 60px;
}
body[adapt="pc"] .download .download-qrcode {
  display: flex;
  flex-direction: column;
  margin: 20px;
  justify-content: center;
  align-items: center;
  border-left: 1px solid lightgray;
  padding: 20px;
  color: grey;
  padding-left: 30px;
}
body[adapt="pc"] .download .download-qrcode span {
  margin-top: 16px;
  text-align: center;
  font-size: small;
}
body[adapt="pc"] .download .download-qrcode img {
  width: 120px;
  /* // border-radius: 50%; */
}

body[adapt="pc"] .apk-package-info {
  display: flex;
  flex-direction: column;
  padding: 4px;
}

body[adapt="pc"] .apk-package-info #apk-version {
  font-weight: bold;
}

body[adapt="pc"] .apk-package-info #apk-update-time {
  color: grey;
  font-size: 14px;
}

.line {
  margin: 10px auto;
  width: 90%;
  height: 1px;
  background-color: lightgray;
}

#apk-qrcode {
  padding: 10px;
  width: 150px;
  height: 150px;
  margin: auto;
}

#tpl-qrcode-img {
  padding: 10px;
  width: 180px;
  height: 180px;
}

#tpl-desc {
  color: grey;
  padding-left: 10px;
}

.pc-down-btn {
  background: linear-gradient(45deg, #4ae4c9, #1296db);
  color: white !important;
  border-radius: 99rem;
  width: 80%;
  margin: auto;
  padding: 6px;
}

#show-path {
  position: absolute;
  bottom: 0;
  background: linear-gradient(45deg, #c4c4c4, transparent);
  color: grey;
  font-size: small;
  padding: 4px;
  user-select: text;
}

#preview-mode {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

#preview-mode img {
  width: 20px;
  height: 20px;
  padding: 0px 10px;
}

/* 非首个img标签 */
#preview-mode img:not(:first-child) {
  border-left: 1px solid lightgray;
}
